package com.datatest.riskcheck.testDemo;

import com.datatest.riskcheck.service.api.QuerySystemApiService;
import com.datatest.riskcheck.service.serviceImpl.QuerySystemApiServiceImpl;
import org.junit.jupiter.api.Test;

import java.io.IOException;
import java.util.List;

/**
 * @Author lxt
 * Created by Jccfc on 2021/12/3.
 */
public class testDemo {




    public static String reverse2(String old) {
        String result = "";
        for (int i = 0; i < old.length(); i++) {
            result = old.charAt(i) + result;
        }
        return result;
    }
    @Test
    public void test(){
        System.out.println(reverse2("ABCDEF"));
    }

    @Test
    public void test2() throws IOException {
        QuerySystemApiServiceImpl query = new QuerySystemApiServiceImpl();
        List list = query.displayNameList("360zhixin", "360zhixin_preloan");
        for (Object value:list
             ) {
            System.out.println(value);
        }
    }
}
